package com.fancy.learncenter.bean;

import java.util.List;

/**
 * Created by hyy on 2017/6/5.
 * describe as
 */

public class BaseDataBean<T>  {

    /**
     * data : {"advert":[]}
     * info : {"bizCode":"200","bizMsg":"请求成功","httpCode":"200","msg":"OK","timestamp":"1512115985891"}
     */

    private T data;
    private InfoBean info;

    public T  getData() {
        return data;
    }

    public void setData(T  data) {
        this.data = data;
    }

    public InfoBean getInfo() {
        return info;
    }

    public void setInfo(InfoBean info) {
        this.info = info;
    }


    public static class InfoBean {
        /**
         * bizCode : 200
         * bizMsg : 请求成功
         * httpCode : 200
         * msg : OK
         * timestamp : 1512115985891
         */

        private String bizCode;
        private String bizMsg;
        private String httpCode;
        private String msg;
        private String timestamp;

        public String getBizCode() {
            return bizCode;
        }

        public void setBizCode(String bizCode) {
            this.bizCode = bizCode;
        }

        public String getBizMsg() {
            return bizMsg;
        }

        public void setBizMsg(String bizMsg) {
            this.bizMsg = bizMsg;
        }

        public String getHttpCode() {
            return httpCode;
        }

        public void setHttpCode(String httpCode) {
            this.httpCode = httpCode;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }
    }
}
